package com.wits.platform.entity;

import javax.persistence.EmbeddedId;
import javax.persistence.Entity;
import javax.persistence.Table;

@Entity
@Table(name="wits_mmr_role_resource")
public class MmrRoleResource extends BaseEntity{

	/**
	 * 
	 */
	private static final long serialVersionUID = -7929938785835724443L;
	
	private MmrRoleResourcePK id;
	
	
	public MmrRoleResource(){
		
	}
	
	public MmrRoleResource(String roleId,String rscId){
		this.id=new MmrRoleResourcePK(roleId, rscId);
	}
	
	
	public MmrRoleResource(MmrRoleResourcePK id){
		this.id=id;
	}
	

	@EmbeddedId
	public MmrRoleResourcePK getId() {
		return id;
	}

	public void setId(MmrRoleResourcePK id) {
		this.id = id;
	}

	@Override
	public String display() {
		// TODO Auto-generated method stub
		return null;
	}
	
}
